package com.example.springboot.exception;


/**
 * @Description: BaseException
 * @Author wenlinyu
 * @Date: 2020/12/16 14:58
 * @Version 1.0
 */
public class BaseException extends Exception {

    private Integer code;
    private String msg;

    public BaseException(Integer code, String msg) {
        super();
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
